home *** CD-ROM | disk | FTP | other *** search
- Date: Sun, 20 Mar 1994 05:35:57 -0500
- From: "Nicholas S Castellano" <entropy@terminator.rs.itd.umich.edu>
- To: mint@terminator.rs.itd.umich.edu
- Subject: CRMOD fix...
-
- tty.c: ++entropy@terminator.rs.itd.umich.edu
- Do CRMOD input translation only in COOKED mode.
-
- --- 1.10.1.5 1994/03/20 09:52:24
- +++ tty.c 1994/03/20 09:53:06
- @@ -122,7 +122,7 @@
- return bytes_read;
- ch = r & 0xff;
-
- - if ( (mode & T_CRMOD) && (ch == '\r') )
- + if ( (rdmode & COOKED) && (mode & T_CRMOD) && (ch == '\r') )
- ch = '\n';
-
- /* 1 character reads in TOS mode are always raw */
-
- --
- entropy -- it's not just a good idea, it's the second law.
- Personal mail: entropy@gnu.ai.mit.edu
- MiNT library mail: entropy@terminator.rs.itd.umich.edu
- "what do you have against octal?" -jrb
-
-